package com.lsc.study.generic;

/**
 * 属性 + 方法（无参有参构造、Get  Set  toString）
 */
public class StudentVO<T> {


    private T name;

    private T id;

    public StudentVO() {
    }

    public StudentVO(T name, T id) {
        this.name = name;
        this.id = id;
    }

    public T getName() {
        return name;
    }

    public void setName(T name) {
        this.name = name;
    }

    public T getId() {
        return id;
    }

    public void setId(T id) {
        this.id = id;
    }
}
